/** 打印配置变量
 *
 */
const constPrint = [ //配置打印同视图的关系
  { //科室请领
    busKey: 'apply',
    formViewKey: 'dept_apply',
    itemViewKey: 'dept_apply_item_applydemand',
    refKey: 'applyId'
  },
  { //验收入库(手动)
    busKey: 'inOrderManual',
    formViewKey: 'wm_in_order',
    itemViewKey: 'wm_in_order_item',
    refKey: 'workOrderId'
  },
  { //验收入库(扫码)
    busKey: 'inOrder',
    formViewKey: 'wm_in_order',
    itemViewKey: 'wm_in_order_item',
    refKey: 'workOrderId'
  },
  { //科室需求
    busKey: 'demand',
    formViewKey: 'dept_demand',
    itemViewKey: 'dept_demand_item',
    refKey: 'demandId'
  },
  { //科室出库
    busKey: 'dist',
    formViewKey: 'wm_dist',
    itemViewKey: 'wm_dist_item',
    refKey: 'distId'
  },
  { //科室退库
    busKey: 'deptReturn',
    formViewKey: 'wm_transfer',
    itemViewKey: 'wm_transfer_item',
    refKey: 'transferId'
  },
  { //供应商出库汇总
    busKey: 'outOrderCollect',
    formViewKey: 'wm_out_order',
    itemViewKey: 'wm_out_order_item',
    refKey: 'workOrderId'
  },
  { //病人消耗单
    busKey: 'oprtUse',
    formViewKey: 'dept_oprt_use',
    itemViewKey: 'dept_oprt_use_item',
    refKey: 'deptOprtUseId'
  },
  { //病人消耗单(合单)
    busKey: 'oprtUseCollect',
    formViewKey: 'dept_oprt_use',
    itemViewKey: 'dept_oprt_use_item',
    refKey: 'deptOprtUseId'
  },
  { //科室消耗单
    busKey: 'deptUse',
    formViewKey: 'dept_use',
    itemViewKey: 'dept_use_dtl',
    refKey: 'useId'
  },
  { //科室消耗单汇总打印
    busKey: 'deptUseSum',
    formViewKey: 'dept_use',
    itemViewKey: 'dept_use_dtl',
    refKey: 'useId'
  },
  { //科室消耗合并汇总
    busKey: 'deptUseMergeCollect',
    formViewKey: 'dept_use_merge',
    itemViewKey: 'dept_use_merge_dtl',
    refKey: 'useMergeId'
  },
  { //科室消耗合并明细
    busKey: 'deptUseDetailMerge',
    formViewKey: 'dept_use_merge',
    itemViewKey: 'dept_use_merge_dtl',
    refKey: 'useMergeId'
  },
  { //期初入库
    busKey: 'inOrderInit',
    formViewKey: 'wm_in_order',
    itemViewKey: 'wm_in_order_item',
    refKey: 'workOrderId'
  },
  { //科室配送分单汇总打印
    busKey: 'distPrintSum',
    formViewKey: 'wm_dist',
    itemViewKey: 'wm_pick_item',
    refKey: 'distId'
  },
  { //科室退货汇总打印
    busKey: 'deptReturnSum',
    formViewKey: 'wm_transfer',
    itemViewKey: 'wm_transfer_item',
    refKey: 'transferId'
  },
  { //科室调拨分单明细
    busKey: 'printTransfer',
    formViewKey: 'wm_transfer',
    itemViewKey: 'wm_transfer_item',
    refKey: 'transferId'
  },
  { //科室调拨汇总打印
    busKey: 'printTransferSum',
    formViewKey: 'wm_transfer',
    itemViewKey: 'wm_transfer_item',
    refKey: 'transferId'
  },
  { //调拨需求
    busKey: 'printTransferDemand',
    formViewKey: 'wm_transfer',
    itemViewKey: 'wm_transfer_demand',
    refKey: 'transferId'
  },
  { //科室配送分单明细打印
    busKey: 'distPrintDtl',
    formViewKey: 'wm_dist',
    itemViewKey: 'wm_pick_item',
    refKey: 'distId'
  },
  { //科室配送分单汇总打印
    busKey: 'printSpecialSum',
    formViewKey: 'wm_dist',
    itemViewKey: 'wm_pick_item',
    refKey: 'distId'
  },
  { //配送需求
    busKey: 'printDemand',
    formViewKey: 'wm_dist',
    itemViewKey: 'wm_dist_item',
    refKey: 'distId'
  },
  { //准入审批行打印
    busKey: 'admPrintDtl',
    formViewKey: 'adm_matr_apply',
    itemViewKey: 'adm_matr_apply_item',
    refKey: 'applyId'
  },
  { //准入审批表头打印
    busKey: 'admPrintMain',
    formViewKey: 'adm_matr_apply',
    itemViewKey: 'adm_matr_apply_item',
    refKey: 'applyId'
  },
  { //供应商出库分单汇总打印
    busKey: 'outOrderPrintSum',
    formViewKey: 'wm_out_order',
    itemViewKey: 'wm_out_order_item',
    refKey: 'workOrderId'
  },
  { //供应商出库明细
    busKey: 'outOrder',
    formViewKey: 'wm_out_order',
    itemViewKey: 'wm_out_order_item',
    refKey: 'workOrderId'
  },
  { //包入库
    busKey: 'inOrderPackage',
    formViewKey: 'wm_in_order',
    itemViewKey: 'wm_in_order_item',
    refKey: 'workOrderId'
  },
  { //采购单
    busKey: 'purchaseOrder',
    formViewKey: 'purchase_order',
    itemViewKey: 'purchase_order_item',
    refKey: 'orderId'
  },
  { //采购单
    busKey: 'oprtDist',
    formViewKey: 'dept_oprt_apply',
    itemViewKey: 'dept_oprt_apply_item',
    refKey: 'oprtApplyId'
  },

  //入账单高值打印
  {
    busKey: 'financeBillHigh',
    formViewKey: 'finance_bill',
    itemViewKey: 'finance_bill_item_billin',
    refKey: 'billId'
  },

  //入账单低值打印
  {
    busKey: 'financeBillLow',
    formViewKey: 'finance_bill',
    itemViewKey: 'finance_bill_item_billin',
    refKey: 'billId'
  }
]

export default constPrint
